RimuHosting's REST-ful Resources Reference

Path: / r / orders / order-{order-oid}-{domain} / vps / host-server

Change a VPS's host server.  If the VPS is running it will move the VPS (may result in an IP address change).  Moves typically take 5-10 minutes per GB of used file system space on the VPS.

Path parameters:
order-oid ([0-9]+) - The id of the order and a domain name.  The domain name is not used in the lookup (we rely solely on the order oid) but the name makes the uri more user-friendly.  The order oid is immuatable.  It won't change.  Even if you rename the server.  So it makes a good id.
domain ([^;/]*) - This parameter is ignored.  But having it makes the urls a little more recognizable.  Typically the VPS domain name is inserted here.

Resource Methods
Method Summary
NameDescription
PUT /r/orders/order-{order-oid}-{domain}/vps/host-serverChange a VPS's host server.  If the VPS is running it will move the VPS (may result in an IP address change).  Moves typically take 5-10 minutes per GB of used file system space on the VPS.

Method Detail

PUT /r/orders/order-{order-oid}-{domain}/vps/host-server

Change a VPS's host server.  If the VPS is running it will move the VPS (may result in an IP address change).  Moves typically take 5-10 minutes per GB of used file system space on the VPS.

HTTP Example:
PUT /r/orders/order-{order-oid}-{domain}/vps/host-server
API Example:

JAXRSVPS.moveVPS({'order-oid': /* order_oid The id of the order and a domain name.  The domain name is not used in the lookup (we rely solely on the order oid) but the name makes the uri more user-friendly.  The order oid is immuatable.  It won't change.  Even if you rename the server.  So it makes a good id. */,
  'domain': /* domain This parameter is ignored.  But having it makes the urls a little more recognizable.  Typically the VPS domain name is inserted here. */,
  '$entity': /* Change a VPS's host server.  If the VPS is running it will move the VPS (may result in an IP address change).  Moves typically take 5-10 minutes per GB of used file system space on the VPS. */});

Input:
VPSMoveRequest
Output:
PutHostServerMoveResponse